import { requestGet, requestPost, } from "./request/request";


 

/**
 * 商户-获取订单统计数据
 * @returns 
 */
export const getMerchantOrderStatistics=(obj)=>{
  return requestGet("api/wechat/GetMerchantOrderStatistics",obj)
}

/**
 * 商户-订单确认收货
 * @param {*} obj
 */
export const merchantReceive = (obj) => {
 return requestPost("api/wechat/Merchant_Receive",obj)
};

/**
 * 商户-取消订单
 * @param {*} obj
 */
export const MerchantCancelOrder = (obj) => {
  return requestPost("api/wechat/Merchant_CancelOrder",obj)
 };
 

/**
 * 商户-获取单个订单详情
 * @param {*} obj
 */
export const getMerchantSingleOrder = (obj) => {
  return requestGet("api/wechat/GetMerchantSingleOrder",obj)
};


/**
 * 商户-获取订单
 * @param {*} obj
 */
export const getOrders = (obj) => {
  return requestGet("api/wechat/GetMerchantOrders",obj)
};



/**
 * 商户-生成订单
 * @param {*} obj
 */
export const generateOrder = (obj) => {
  return requestPost("api/wechat/GenerateOrder",obj)
};








/**
 * 取消订单
 * @param {*} obj
 */
export const cancelOrder = (obj) => {
  return requestPost("api/wechat/Merchant_CancelOrder",obj)
};
  

